package gov.pbc.nn.kjgl.item.template.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.bstek.dorado.annotation.PropertyDef;

import gov.pbc.nn.core.entity.BaseEntity;

/**
 * 事项审批
 * 
 * @author Administrator
 * 
 */
@Entity
@Table(name = "T_ITEM_APPROVAL")
public class ItemApproval extends BaseEntity {

	private static final long serialVersionUID = -3498450742754526218L;

	@Column(name = "TYPE_", length = 60)
	@PropertyDef(label = "事项分类")
	private String type;
	@Column(name = "TYPE_NAME_", length = 120)
	@PropertyDef(label = "事项分类")
	private String typeName;
	@Column(name = "NAME_", length = 120)
	@PropertyDef(label = "事项名称")
	private String name;
	@Column(name = "BUS_KEY_", length = 60)
	@PropertyDef(label = "业务主键值")
	private String busKey;
	@Column(name = "BUS_ENTITY_CLASS_", length = 200)
	@PropertyDef(label = "业务审批的全限定java类名")
	private String busEntityClass;
	@Column(name = "STATE_")
	@PropertyDef(label = "状态",description="0:初始；10：审核处理中；20：撤销；30：完成")
	private int state;

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getBusKey() {
		return busKey;
	}

	public void setBusKey(String busKey) {
		this.busKey = busKey;
	}

	public String getBusEntityClass() {
		return busEntityClass;
	}

	public void setBusEntityClass(String busEntityClass) {
		this.busEntityClass = busEntityClass;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

}
